import Vue from 'vue'
import {
  Button, Form, FormItem, Input, Message, Container, Aside, Main, Header, Menu, Submenu,
  MenuItemGroup, MenuItem, Breadcrumb, BreadcrumbItem, Card, Row, Col, Table, TableColumn, Switch, Tooltip,
  Pagination, Dialog, MessageBox, Tag, Tree, Select, Option, Cascader, Alert, Tabs, TabPane, Step, Steps,
  CheckboxGroup, Checkbox, Upload, Timeline, TimelineItem
} from 'element-ui'
// eslint-disable-next-line no-unused-vars
import { use } from 'element-ui/src/locale'

Vue.use(Button).use(FormItem).use(Form).use(Input).use(Container).use(Aside).use(Main).use(Header)
  .use(MenuItem).use(Menu).use(Submenu).use(MenuItemGroup).use(Breadcrumb).use(BreadcrumbItem).use(Card)
  .use(Row).use(Col).use(Table).use(TableColumn).use(Switch).use(Tooltip).use(Pagination).use(Dialog).use(Tag)
  .use(Tree).use(Select).use(Option).use(Cascader).use(Alert).use(TabPane).use(Tabs).use(Step).use(Steps)
  .use(Checkbox).use(CheckboxGroup).use(Upload).use(TimelineItem).use(Timeline)
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm
